package com.zk.stock.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 曹自康的Laptop
 * @version 1.0
 * @Date 2024-06-3016:41
 */
/*
定义股票相关的的值对象封装
 */
@ApiModel(description = "义股票相关的的值对象封装")
@Data
@ConfigurationProperties(prefix = "stock")
//@Component
public class StockInfoConfig {
    /**
     * 封装国内A股大盘编码结合
     */
    @ApiModelProperty(value = "封装国内A股大盘编码结合", position = 1)
    private List<String> inner;
    /***
     * 外盘编码集合
     */
    @ApiModelProperty(value = "外盘编码集合", position = 2)
    private List<String> outer;
    @ApiModelProperty(hidden = true)
    private List<String> upDownRange;
    private String marketUrl;
    private String blockUrl;

}
